package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "xtx_comment_detail")
public class XtxCommentDetail {
    @Id
    @Column(name = "xtx_comment_detail_id")
    private Integer xtxCommentDetailId;

    /**
     * 评论id
     */
    @Column(name = "comment_id")
    private Integer commentId;

    /**
     * 回复user_id
     */
    @Column(name = "reply_user_id")
    private Integer replyUserId;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "user_id")
    private Integer userId;

    private String comment;

    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return xtx_comment_detail_id
     */
    public Integer getXtxCommentDetailId() {
        return xtxCommentDetailId;
    }

    /**
     * @param xtxCommentDetailId
     */
    public void setXtxCommentDetailId(Integer xtxCommentDetailId) {
        this.xtxCommentDetailId = xtxCommentDetailId;
    }

    /**
     * 获取评论id
     *
     * @return comment_id - 评论id
     */
    public Integer getCommentId() {
        return commentId;
    }

    /**
     * 设置评论id
     *
     * @param commentId 评论id
     */
    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    /**
     * 获取回复user_id
     *
     * @return reply_user_id - 回复user_id
     */
    public Integer getReplyUserId() {
        return replyUserId;
    }

    /**
     * 设置回复user_id
     *
     * @param replyUserId 回复user_id
     */
    public void setReplyUserId(Integer replyUserId) {
        this.replyUserId = replyUserId;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return comment
     */
    public String getComment() {
        return comment;
    }

    /**
     * @param comment
     */
    public void setComment(String comment) {
        this.comment = comment;
    }
}